package com.beifu.manager.dao;

import com.beifu.manager.model.AssetPurchaseOrder;
import com.beifu.manager.model.AssetPurchaseOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AssetPurchaseOrderMapper {
    int countByExample(AssetPurchaseOrderExample example);

    int deleteByExample(AssetPurchaseOrderExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AssetPurchaseOrder record);

    int insertSelective(AssetPurchaseOrder record);

    List<AssetPurchaseOrder> selectByExample(AssetPurchaseOrderExample example);

    AssetPurchaseOrder selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AssetPurchaseOrder record, @Param("example") AssetPurchaseOrderExample example);

    int updateByExample(@Param("record") AssetPurchaseOrder record, @Param("example") AssetPurchaseOrderExample example);

    int updateByPrimaryKeySelective(AssetPurchaseOrder record);

    int updateByPrimaryKey(AssetPurchaseOrder record);
}